package com.bifang.module.file.common.vo.fileCollect;

import com.bifang.assistant.common.vo.BaseVO;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 文件归集参数表VO
 *
 * @author shun
 * @since 2023-03-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Schema(name = "FileCollectVO", title = "文件归集参数表VO", description = "文件归集参数表实体类")
public class FileCollectVO extends BaseVO {

    @Schema(name = "fileCollectCode", title = "文件归集分类编号")
    private String fileCollectCode;

    @Schema(name = "collectTitle", title = "归集标题")
    private String collectTitle;

    @Schema(name = "parentCode", title = "父类编号")
    private String parentCode;

    @Schema(name = "status", title = "有效状态 0 无效 1有效")
    private String status;

    @Schema(name = "archivesCollectCode", title = "对应档案分类编号")
    private String archivesCollectCode;

    @Schema(name = "expireTime", title = "默认访问过期时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date expireTime;

    @Schema(name = "collectParam1", title = "预留字段1")
    private String collectParam1;

    @Schema(name = "collectParam2", title = "预留字段2")
    private String collectParam2;

    @Schema(name = "remarks", title = "备注")
    private String remarks;

    @Schema(name = "createName", title = "创建人")
    private String createName;

    @Schema(name = "createTime", title = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @Schema(name = "secrecyLevel", title = "保密级别 1一级 2二级 3三级")
    private String secrecyLevel;
}
